package com.nanhai.buddhist.college.module.collegebase.convert.rewardpunishrecord;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.rewardpunishrecord.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.rewardpunishrecord.RewardPunishRecordDO;

/**
 * 奖罚管理 Convert
 *
 * @author AKai
 */
@Mapper
public interface RewardPunishRecordConvert {

    RewardPunishRecordConvert INSTANCE = Mappers.getMapper(RewardPunishRecordConvert.class);

    RewardPunishRecordDO convert(RewardPunishRecordCreateReqVO bean);

    RewardPunishRecordDO convert(RewardPunishRecordUpdateReqVO bean);

    RewardPunishRecordRespVO convert(RewardPunishRecordDO bean);

    List<RewardPunishRecordRespVO> convertList(List<RewardPunishRecordDO> list);

    PageResult<RewardPunishRecordRespVO> convertPage(PageResult<RewardPunishRecordDO> page);

    List<RewardPunishRecordExcelVO> convertList02(List<RewardPunishRecordDO> list);

}
